package com.test.restruant.dao;

import com.test.restruant.pojo.DishOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DishOrderDAO {
    int insert(@Param("pojo") DishOrder pojo);

    int update(@Param("pojo") DishOrder pojo);

    List<DishOrder> getOrderList();

    DishOrder getOrderByOrderNum(String orderNum);
}
